import request from './request.js'

const me = {
  // 我的收益
  getUserMoneyInfo(data) {
    return request.post('/api/client/core/AccountMoney/GetUserMoneyInfo', data)
  },
  // 邀请信息
  getUserShareInfo(data) {
	  return request.post('/api/client/core/UserInfomation/GetUserShareInfo', data)
  },
  // 分佣轮播
  getUserStatementInfo(data) {
	  return request.post('/api/client/core/UserInfomation/GetUserStatementInfo', data)
  },
  // 获取邀请码
  getCurrentUsersInviteCode(data) {
	  return request.get('/api/client/core/InvitedFriend/GetCurrentUsersInviteCode', data)
  },
  // 公司类型服务商入驻
  insertCompnayService(data) {
	  return request.post('/api/client/core/AccountServiceInfo/InsertCompnayService', data)
  },
  // 个人类型服务商入驻
  insertPersonService(data) {
	  return request.post('/api/client/core/AccountServiceInfo/InsertPersonService', data)
  },
  // 验证营业执照
  checkBusinessLicense(data) {
	  return request.post('/api/client/core/AccountServiceInfo/CheckBusinessLicense', data)
  },
  // 身份证验证
  checkIDCard(data) {
	  return request.post('/api/client/core/AccountServiceInfo/CheckIDCard', data)
  },
  // 当前用户是否已经通过身份证验证
  checkIDCardVerify() {
	  return request.get('/api/client/core/IDCardVerify/CheckIDCardVerify')
  },
  // 获取我的相关信息
  getMyInfo(data) {
	  return request.get('/api/client/core/UserInfomation/GetMyInfo', data)
  },
  // 获取我的服务商相关信息
  getMyServiceInfo(data) {
	  return request.get('/api/client/core/UserInfomation/GetMyServiceInfo', data)
  },
  // 获取我的服务商相关信息
  getVisitCarCount(data) {
	  return request.post('/api/common/core/Visit/GetVisitCarCount', data)
  },

  // 审核状态
  iOSBool(data) {
	  return request.get('/api/common/core/Public/IOSBool', data)
  },
}

export default me